@layout("/admin/layout/main_list.html",{title:'菜单列表'}){

<a href="${ctxPath}/admin/role/edit" class="bt_green"><span class="bt_green_lft"></span><strong>添加菜单</strong><span class="bt_green_r"></span></a>
@//     <a href="${ctxPath}/admin/role/delete" class="bt_red ask"><span class="bt_red_lft"></span><strong>删除选中</strong><span class="bt_red_r"></span></a> 
	<table id="rounded-corner" summary="2014 iskny">
    <thead>
    	<tr>
   @//     	<th scope="col" class="rounded-company"><input type="checkbox" name="" /></th>
            <th scope="col" class="rounded">序号</th>
            <th scope="col" class="rounded">角色名</th>
            <th scope="col" class="rounded">角色编码</th>
            <th scope="col" class="rounded">状态</th>
            <th scope="col" class="rounded">创建时间</th>
            <th scope="col" class="rounded">编辑</th>
            <th scope="col" class="rounded-q4">删除</th>
        </tr>
    </thead>
        <tfoot>
    	<tr>
        	<td colspan="6" class="rounded-foot-left"><em><a href="${ctxPath}/admin/role/edit">添加菜单信息</a></em></td>
        	<td class="rounded-foot-right">&nbsp;</td>
        </tr>
    </tfoot>
    <tbody>
    @for(roles in page.list){
    	<tr>
  @//      	<td><input type="checkbox" name="" /></td>
            <td>${roles.sortnum}</td>
            <td>${roles.name}</td>
            <td>${roles.url}</td>
            <td>${roles.~state}</td>
			<td>${roles.createtime,'yyyy-MM-dd hh:mm'}</td>
            <td><a href="${ctxPath}/admin/role/edit/${roles.id}"><img src="${ctxPath}/admin/images/user_edit.png" alt="" title="" border="0" /></a></td>
            <td><a href="${ctxPath}/admin/role/delete/${roles.id}" class="ask"><img src="${ctxPath}/admin/images/trash.png" alt="" title="" border="0" /></a></td>
        </tr>
	@}
        
    </tbody>
</table>
     
        <div class="pagination">
        @var a=pagewhile(a<5){
        
        @}
@//        <span class="disabled"><< prev</span><span class="current">1</span><a href="">2</a><a href="">3</a><a href="">4</a><a href="">5</a>…<a href="">10</a><a href="">11</a><a href="">12</a>...<a href="">100</a><a href="">101</a><a href="">next >></a>
        </div> 
@}